package com.desksoft.ecommerce.service.interf.mall;

import com.desksoft.ecommerce.entity.mall.dto.Eventmodel;
import com.desksoft.ecommerce.util.result.ServiceResult;
import com.desksoft.ecommerce.vo.mall.EventModelVO;
import com.desksoft.ecommerce.vo.mall.NoticeEventDefineVO;
import com.desksoft.ecommerce.vo.mall.SendSmsVO;
import com.desksoft.utility.pagination.Page;
import com.desksoft.utility.service.ServiceInterface;

/**
 * 用于邮件短信事件表
 * 
 * @param
 * @param
 * @return
 */
public interface IEmailMessageService extends ServiceInterface {

	
	/**
	 * 获取邮件短信事件分页列表
	 * 
	 * @param
	 * @param
	 * @return
	 */
	
	public ServiceResult <Page<NoticeEventDefineVO>>   selectEMList(NoticeEventDefineVO noticeEventDefineVO);
	
	/**
	 * 获取邮件事件;
	 * 
	 * @param
	 * @param
	 * @return
	 */
	
	public ServiceResult<NoticeEventDefineVO>   selectNoticeEventDefineVO (NoticeEventDefineVO noticeEventDefineVO);
	
	/**
	 * 修改邮件短信状态
	 * 
	 * @param
	 * @param
	 * @return
	 */
	public ServiceResult<Boolean> updateEmailMessag(NoticeEventDefineVO noticeEventDefineVO);
	
	/**
	 * 获取邮件模块明细
	 * 
	 * @param
	 * @param
	 * @return
	 */
	
	public ServiceResult<EventModelVO> selectEventModel(EventModelVO eventModelVO);
	
	/**
	 * 修改邮件模块明细
	 * 
	 * @param
	 * @param
	 * @return
	 */
	
	public ServiceResult<Boolean> updateEventModel(EventModelVO eventModelVO);
	
	/**
	 * 发送短信
	 * @param snedSmsVO
	 * @return
	 */
	public ServiceResult<Boolean> sendSms(SendSmsVO snedSmsVO);
}
